<div class="dialog-container mdd-dialog mdl-shadow--8dp mdl-layout--fixed-header SMES-dialog A07_withdraw_menu-dialog c-mdd-page" ng-init="dialog.init();" style="background-color: #fafafa" page-type="Dialog" _transclude-elem="[object Object]">
    <div class="kmi-header-row">
        <div class="header-title" ng-bind="dialog._title | translate"></div>
        <!--More Menu-->

        <!--Close button-->
        <div class="kmi-side-btn right" ng-click="dialog.hide();">
            <img src="image/icons/clear.png" />
            <div class="kmi-can-click"></div>
        </div>
    </div>
    <div class="kmi-layout-main-content" style="flex: 1">
        <!--Page-->
        <div class="kmi-layout-page">
            <div class="mdd-layout__with-toolbar mdd-layout c-mdd-layout" layout-name="A07_withdraw_menu" page-name="" page-type="Dialog" with-toolbar="Y" reload="N" _transclude-elem="[object Object]" style="grid-template-columns: repeat(3, auto 1fr)">
                <label class="label" ng-show="dialog._event['select_machine_no'].isShown != 'N'" style="" ng-bind="'A07_withdraw_menu.columns.select_machine_no' | translate"></label>
                <div class="value" ng-show="dialog._event['select_machine_no'].isShown != 'N'" style=""><label class="value" ng-bind="dialog.select_machine_no" mdl-toast="{{dialog.select_machine_no}}" mdl-toast-passive="true"></label></div>
                <label class="label" ng-show="dialog._event['select_label'].isShown != 'N'" style="" ng-bind="'A07_withdraw_menu.columns.select_label' | translate"></label>
                <div class="value" ng-show="dialog._event['select_label'].isShown != 'N'" style="">
                    <input type="text" readonly="" ng-model="dialog.select_label_display" ng-click="dialog._event['select_label'].click(dialog.select_label, {event:$event});" ng-disabled="dialog._event['select_label'].isDisabled == 'Y'" />
                    <div class="tip"><i class="material-icons"></i></div>
                </div>
                <div class="mdd-list c-mdd-list" null="" ng-show="dialog._event['show_data'].isShown != 'N'" style="height:{{dialog._event['A07_withdraw_menu'].GetfillHeight()}};grid-column-start:span 6;" list-name="A07_withdraw_menu_show_data" list-bind="dialog.show_data" list-alias="dialog.show_data" enable-select="N" select-all="N" page-name="" page-type="Dialog" _transclude-elem="[object Object]">
                    <div class="kmi-list column-selector" kmi-scrollbar="960px" column-selector-id="A07_withdraw_menu_show_data" style="flex: 1">
                        <div class="kmi-list__header">
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.op_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[0].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['op_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[0].isFilter = false;dialog._objshow_data.filterColumns['op_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[0].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[0].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.op_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 0">{{!dialog._objshow_data.header[0].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(0, 'op_no', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.op_name'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[1].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['op_name']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[1].isFilter = false;dialog._objshow_data.filterColumns['op_name'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[1].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[1].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.op_name' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 1">{{!dialog._objshow_data.header[1].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(1, 'op_name', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.plot_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[2].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['plot_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[2].isFilter = false;dialog._objshow_data.filterColumns['plot_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[2].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[2].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.plot_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 2">{{!dialog._objshow_data.header[2].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(2, 'plot_no', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.item_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[3].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['item_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[3].isFilter = false;dialog._objshow_data.filterColumns['item_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[3].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[3].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.item_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 3">{{!dialog._objshow_data.header[3].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(3, 'item_no', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.item_name'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[4].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['item_name']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[4].isFilter = false;dialog._objshow_data.filterColumns['item_name'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[4].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[4].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.item_name' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 4">{{!dialog._objshow_data.header[4].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(4, 'item_name', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.mo_no'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[5].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['mo_no']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[5].isFilter = false;dialog._objshow_data.filterColumns['mo_no'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[5].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[5].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.mo_no' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 5">{{!dialog._objshow_data.header[5].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(5, 'mo_no', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.item_spec'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[6].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['item_spec']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[6].isFilter = false;dialog._objshow_data.filterColumns['item_spec'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[6].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[6].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.item_spec' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 6">{{!dialog._objshow_data.header[6].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(6, 'item_spec', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1" ng-show="dialog._event['dialog.show_data.uncheck_in_qty'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[7].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['uncheck_in_qty']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[7].isFilter = false;dialog._objshow_data.filterColumns['uncheck_in_qty'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[7].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[7].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.uncheck_in_qty' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 7">{{!dialog._objshow_data.header[7].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(7, 'uncheck_in_qty', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                            <div class="kmi-list__column head-controls" style="flex: 1 1 0%" ng-show="dialog._event['dialog.show_data.qty'].isShown != 'N'">
                                <div class="filter" ng-show="dialog._objshow_data.header[8].isFilter">
                                    <input ng-model="dialog._objshow_data.filterColumns['qty']" />
                                    <i class="material-icons clear" style="position: absolute; top: 2px; right: 4px" ng-click="dialog._objshow_data.header[8].isFilter = false;dialog._objshow_data.filterColumns['qty'] = '';">clear</i>
                                </div>

                                <div class="order" ng-hide="dialog._objshow_data.header[8].isFilter">
                                    <i class="material-icons search" style="z-index: 1" ng-click="dialog._objshow_data.header[8].isFilter = true">search</i>
                                    <label ng-bind="'A07_withdraw_menu_show_data.columns.qty' | translate"></label>
                                    <i class="material-icons" ng-show="dialog._objshow_data.queryOrder == 8">{{!dialog._objshow_data.header[8].order?'':''}}</i>
                                    <div class="kmi-can-click" ng-click="dialog.orderResult(8, 'qty', 'dialog._objshow_data');"></div>
                                </div>
                            </div>
                        </div>
                        <div class="kmi-list__row-content">
                            <div class="kmi-list__row" id="A07_withdraw_menu_show_data_result_list" ng-repeat="item in dialog._event['dialog.show_data'].getPages(dialog.show_data, dialog._objshow_data.PageConfig, dialog._objshow_data.filterColumns, dialog._objshow_data.header[dialog._objshow_data.queryOrder]) track by $index" ng-class="{'is-select':dialog._event['dialog.show_data'].checkSelect(item, {index:$index, event:$event})}">
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.op_no'].isShown != 'N'">{{item.op_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.op_name'].isShown != 'N'">{{item.op_name}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.plot_no'].isShown != 'N'">{{item.plot_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.item_no'].isShown != 'N'">{{item.item_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.item_name'].isShown != 'N'">{{item.item_name}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.mo_no'].isShown != 'N'">{{item.mo_no}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.item_spec'].isShown != 'N'">{{item.item_spec}}</div>
                                <div class="kmi-list__column column-input" style="flex: 1; z-index: 1" ng-class="{'column-border':!$last}" ng-show="dialog._event['dialog.show_data.uncheck_in_qty'].isShown != 'N'">{{item.uncheck_in_qty}}</div>
                                <div item-name="qty" class="kmi-list__column column-border column-input" style="flex: 1; z-index: 1">
                                    <input readonly="readonly" ng-click="dialog.checkWithdrawQty($event,item);" ng-model="item.qty" ng-disabled="dialog.content.with_draw_mode != '0'" />
                                </div>
                                <div class="kmi-can-click" ng-click="dialog._event['dialog.show_data'].rowClick(item, {index:$index, event:$event});"></div>
                            </div>
                        </div>
                    </div>
                    <div class="page-content">
                        <div class="page-icon">
                            <img src="image/icons/dropleft.png" />
                            <div class="kmi-can-click" ng-click="dialog.prevPage(dialog._objshow_data.PageConfig);"></div>
                        </div>
                        <label ng-bind="dialog.pageInfo(dialog._objshow_data.PageConfig);"></label>
                        <div class="page-icon">
                            <img src="image/icons/dropright.png" />
                            <div class="kmi-can-click" ng-click="dialog.nextPage(dialog._objshow_data.PageConfig);"></div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="mdd-button-tool">
                <div class="tool-bar"></div>
                <div class="tool-bar" style="justify-content: flex-end">
                    <div class="kmi-button kmi-button-confrim btn-confirm" ng-disabled="dialog._fn['Execute'].isDisabled == 'Y'" ng-hide="dialog._fn['Execute'].isShown == 'N'" style="width: 100px">
                        <label ng-bind="'common.btn.confirm' | translate"></label>
                        <div class="kmi-can-click" ng-click="dialog._fn['Execute'].click('Execute');"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
